<?php
require_once ('model/LoginModel.php');
require_once 'view/LoginView.php';

class LoginController {
	private $model;
	private $view;

	function __construct() {
		$this -> model = new LoginModel();
		$this -> view = new LoginView();
	}

	public function isLoggedIn() {
		return $this -> model -> isAdminLoggedIn();
	}

	public function getContent() {
		return "login";
	}

}
